package com.example.demo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZQW
 */
public class Herbaldetailed extends Model<Herbaldetailed> {

private static final long serialVersionUID=1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 草药处方ID
     */
    @TableField("HerbalPresID")
    private Integer HerbalPresID;

    /**
     * 药品ID
     */
    @TableField("HerbalID")
    private Integer HerbalID;

    /**
     * 用量
     */
    @TableField("Dosage")
    private String Dosage;

    /**
     * 药品单价
     */
    @TableField("Price")
    private BigDecimal Price;

    /**
     * 脚注
     */
    @TableField("Footnote")
    private String Footnote;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getHerbalPresID() {
        return HerbalPresID;
    }

    public void setHerbalPresID(Integer HerbalPresID) {
        this.HerbalPresID = HerbalPresID;
    }

    public Integer getHerbalID() {
        return HerbalID;
    }

    public void setHerbalID(Integer HerbalID) {
        this.HerbalID = HerbalID;
    }

    public String getDosage() {
        return Dosage;
    }

    public void setDosage(String Dosage) {
        this.Dosage = Dosage;
    }

    public BigDecimal getPrice() {
        return Price;
    }

    public void setPrice(BigDecimal Price) {
        this.Price = Price;
    }

    public String getFootnote() {
        return Footnote;
    }

    public void setFootnote(String Footnote) {
        this.Footnote = Footnote;
    }

    public static final String ID = "ID";

    public static final String HERBALPRESID = "HerbalPresID";

    public static final String HERBALID = "HerbalID";

    public static final String DOSAGE = "Dosage";

    public static final String PRICE = "Price";

    public static final String FOOTNOTE = "Footnote";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Herbaldetailed{" +
        "id=" + id +
        ", HerbalPresID=" + HerbalPresID +
        ", HerbalID=" + HerbalID +
        ", Dosage=" + Dosage +
        ", Price=" + Price +
        ", Footnote=" + Footnote +
        "}";
    }
}
